<?php !defined('IN_DSW') && exit('大神你要飞呀');?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>404页面未找到或参数出错</title>
</head>
<style type="text/css">
.notfind{margin-top:200px; text-align:center;}
.notfind a{font-size:100px; text-decoration:none;}
#myText{color:red;}

</style>
<script type="text/javascript">
	var timer = 3;
	//var locationUrl="/";
	function send(){
	if(timer == 0){
		window.location.href = "/";
	}else{
	  	timer--;
	  	console.log(timer);
	  	document.getElementById("myText").innerHTML = timer;
	 	setTimeout("send()",1000);
		}
	}

	window.onload = function () {
		send();
	}

</script>
<body>
<div class="notfind">
	<a href="/">404</a>
	<p>页面未找到或参数出错,<span id="myText">3</span>秒后跳转到网站首页</p>
</div>
</body>
</html>